#多线程
import time
import threading

def sing():
     while True:
         print("singing")
         time.sleep(1)

def dance(msg):
    while True:
        print("dancing "+msg)
        time.sleep(1)

if __name__ == '__main__':
    sing_thread = threading.Thread(target=sing)

    dance_thread = threading.Thread(target=dance,args=("hhhhhh",))

    sing_thread.start()

    dance_thread.start()

